package com.ckm.service;

import com.ckm.entity.Student;
import com.ckm.vo.LoginUserVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface StudentService {

    String login(LoginUserVo loginUserVo);

    Student getStudent(String token);

    void addStudent(List<Student> studentList);

    void deleteStudent(Integer id);

    void updateStudent(Student student);

    PageInfo<Student> getStudentPage(Student student, int pageNum, int pageSize);

    List<Student> findStudent(Student student);

    List<Student> findStudentByClassId(Integer classId);
}
